package com.yztc.hrmgr.service;

import com.yztc.hrmgr.pojo.Dept;
import com.yztc.hrmgr.utils.Page;

import java.util.List;

public interface DeptService{

    public int insert(Dept pojo);

    public int insertSelective(Dept pojo);

    public int insertList(List<Dept> pojos);

    public int update(Dept pojo);

    public List<Dept> findAll();

    public Page<Dept> findDeptByPage(Page<Dept> page);

    public Dept findByDeptName(Dept dept);

    public Dept findByDeptId(Dept dept);

    public Dept findByDeptId(Integer deptId);

    public void deleteByDeptId(Integer deptId);
}
